package com.bss.converter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.andy.basics.Converter;
import com.andy.basics.Dao;
import com.bss.dao.BuildingDao;
import com.bss.model.Building;

@Component
public class BuildingConverter extends Converter<Building> {

	@Autowired
	private BuildingDao buildingDao;

	public void setBuildingDao(BuildingDao buildingDao) {
		this.buildingDao = buildingDao;
	}

	@Override
	public Dao<Building> getDao() {
		return buildingDao;
	}

}
